package system.track;

/**
 * This exception is thrown when a function is called
 * that has not been implemented.
 * 
 * @see Block#setPark(boolean) 
 * @author  David Kolb
 * @version Cycle 1 - complete
 */
public class IllegalFunctionCallException extends Exception
{
    /**
     * Constructor for Objects of class IllegalFunctionCallException.
     */
    public IllegalFunctionCallException()
    {
        super();
    }

    /**
     * Constructor for Objects of class IllegalFunctionCallException
     * with a specific error message.
     * 
     * @param message   a String containing a reference message about the
     * error
     */
    public IllegalFunctionCallException(String message)
    {
        super(message);
    }
}